<template>
  <div class="itemOuter">
    <h2>全部分类</h2>
    <div class="typeList">
    <Item v-for="item in itemList" :key="item.id" v-bind="item"></Item>
    </div>
  </div>
</template>


<script>
import Item from "@/components/Item";
export default {
  name:"App",
  components: {Item},
  data(){
    return{
      itemList:[
        {id:"001",content:["CF","PUBG","英雄联盟"],title:"game"},
        {id:"002",content:["夜曲","枫","Baby"],title:"music"},
        {id:"003",content:["钢铁侠1","钢铁侠2","钢铁侠3"],title:"movie"}
      ]
    }
  }
}
</script>


<style scoped>
h2{
  margin-left: 100px;
}
.typeList {
  display: flex;
  justify-content: space-around;
}
</style>